﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Century.EnterpriseLibrary.Caching
{
    public interface ICacheManager
    {
        object Get<T>(string key);
        object Get<T>(string key, string region);
        void Remove(string key);
        void Set(string key, object value);
        void Set(string key, object value, string region);
        void Set(string key, object value, TimeSpan expiration);
        void Set(string key, object value, string region, TimeSpan expiration);
    }
}
